﻿using MovieModel.Search;

namespace MovieModel.Model.Common
{
    public class DefaultImageMovieItem<T> : ImageMovieItem<T> where T : MovieItem<T>, new()
    {
        protected override bool SubMatches(SearchQuery query)
        {
            return false;
        }

        public void Update(string name, string imageLocation, string thumbnailLocation)
        {
            Name = name;
            ImageLocation = imageLocation;
            ThumbnailLocation = thumbnailLocation;
            InvokeItemUpdated();
        }
    }
}
